From: Eli Zaretskii Date: Sat, 23 Jul 2011 10:46:21 +0000 (+0300) Subject: Fix pos-visible-in-window-p under bidi redisplay. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~2737 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9ec21915f6c1b75d74a79566f70420b6390c8620;p=emacs.git Fix pos-visible-in-window-p under bidi redisplay. src/xdisp.c (move_it_in_display_line_to): Record the best matching position for TO_CHARPOS while scanning the line, and restore it on exit if none of the characters scanned was an exact match. Fixes vertical-motion and pos-visible-in-window-p under bidi redisplay when exact match is impossible due to invisible text, and the lines are truncated. --- 9ec21915f6c1b75d74a79566f70420b6390c8620 diff --cc src/ChangeLog index 8af38080d00,2121da920e9..b5f11a2cd60 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,7 -1,10 +1,16 @@@ + 2011-07-23 Eli Zaretskii + + * xdisp.c (move_it_in_display_line_to): Record the best matching + position for TO_CHARPOS while scanning the line, and restore it on + exit if none of the characters scanned was an exact match. Fixes - vertical-motion and pos-visible-in-window-p when exact match is - impossible due to invisible text, and the lines are truncated. ++ vertical-motion and pos-visible-in-window-p under bidi redisplay ++ when exact match is impossible due to invisible text, and the ++ lines are truncated. ++ +2011-07-23 Jan Djärv + + * nsterm.m (initFrameFromEmacs): Set NSTitledWindowMask in styleMask + for OSX >= 10.7. 2011-07-22 Eli Zaretskii